<?function writeChildren($title, $edit_summary_end = "") {  global $editInitiator;  $children = categoryMembers("Immediate children/$title");  foreach ($children as $child) {    $child_name = substr($child, 18);    if (trim($child_name)) {      $editable_list .= "\n |" . ++$i . " = $child_name ";    }  }  $list_start = "{{Auto taxon list {{{depth|}}}";  $list_end = "\n}}";  $list = $list_start . $editable_list . $list_end;  return write("Template:Child taxa/$title", $list, $editInitiator . " List child taxa " . $edit_summary_end);}